home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 5 / BBS in a Box -Volume V (BBS in a Box) (April 1992).iso / Files / Prog / T / TC Prog Guide.cpt / picture ƒ / color.h < prev    next >
Encoding:
C/C++ Source or Header  |  1990-10-11  |  507 b   |  41 lines  |  [TEXT/KAHL]

  1. /*
  2. *    FILE:        color.h
  3. *    AUTHOR:        R. Gonzalez
  4. *    CREATED:    Oct. 6, 1990
  5. *
  6. *    color type; colors available.
  7. */
  8.  
  9. # ifndef    color_h
  10. # define    color_h
  11.  
  12. # define    COLOR
  13.  
  14. # ifdef        COLOR
  15.  
  16. # define    BLACK        0
  17. # define    WHITE        1
  18. # define    RED            2
  19. # define    YELLOW        3
  20. # define    GREEN        4
  21. # define    BLUE        5
  22. # define    CYAN        6
  23. # define    MAGENTA        7
  24.  
  25. # else
  26.  
  27. # define    BLACK        0
  28. # define    WHITE        1
  29. # define    RED            0
  30. # define    YELLOW        1
  31. # define    GREEN        0
  32. # define    BLUE        0
  33. # define    CYAN        1
  34. # define    MAGENTA        1
  35.  
  36. # endif
  37.  
  38. typedef    int    color;
  39.  
  40. # endif
  41.